package com.tao.clients;

import com.tao.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author 86130
 */
@FeignClient("collect-service")
public interface CollectClient {
    /**
     * 删除收藏中的商品
     * @param productId
     * @return
     */
    @PostMapping("collect/remove/product")
    R remove(@RequestBody Integer productId);
}
